package com.rockcent.mall.lib.dto;

import com.rockcent.mall.lib.domain.Product;

import java.util.List;

/**
 * Created by zhangjh on 2016/10/12.
 */
public class ShoppingCartDto {
    /**
     * 商家ID
     */
    private Long merchantId;
    /**
     * 商家名称
     */
    private String merchantName;
    /**
     * 商品列表
     */

    private List<ShoppingCartProductDto> product;

    private List<Product> productList;

    public List<Product> getProductList() {
        return productList;
    }

    public void setProductList(List<Product> productList) {
        this.productList = productList;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public List<ShoppingCartProductDto> getProduct() {
        return product;
    }

    public void setProduct(List<ShoppingCartProductDto> product) {
        this.product = product;
    }

    @Override
    public String toString() {
        return "ShoppingCartDto{" +
                "merchantId=" + merchantId +
                ", merchantName='" + merchantName + '\'' +
                ", product=" + product +
                ", productList=" + productList +
                '}';
    }
}
